|
||||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfhg2a.ReLogoTurtle
Tribe
IdealFreeDistribution
class IdealFreeDistribution extends Tribe
Tribe that relies on wild cereal, prey and farmed cereal for sustenance, and has perfect global knowledge. Divides annual foraging time between all food types based on their relative net acquisition rates.
Method Summary | |
---|---|
java.lang.Object
|
forage()
Forage one year's worth of prey, wild cereal and farmed cereal. |
java.lang.Object
|
move()
Move tribe to the best patch on the grid (including patch it is on). |
Methods inherited from class Tribe | |
---|---|
agentOnDesert, agentOnLush, agentOnMiddle, birthsOnDesert, birthsOnLush, birthsOnMiddle, cull, deathsOnDesert, deathsOnLush, deathsOnMiddle, forage, migrationsToDesert, migrationsToLush, migrationsToMiddle, move, reproduce, reset, step |
Method Detail |
---|
java.lang.Object forage()
java.lang.Object move()